package cn.zwz.customer.entity;

import cn.zwz.basics.baseClass.ZwzBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;

/**
 * @author 熊英杰
 */
@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "a_customer")
@TableName("a_customer")
@ApiModel(value = "客户信息")
public class Customer extends ZwzBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "客户编号")
    private String code;

    @ApiModelProperty(value = "客户姓名")
    private String name;

    @ApiModelProperty(value = "身份证号码")
    private String idCard;

    @ApiModelProperty(value = "联系电话")
    private String mobile;

    @ApiModelProperty(value = "客户性别")
    private String sex;

    @ApiModelProperty(value = "备注")
    private String remark;
}